package com.rio.dandan.action;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.rio.dandan.service.UserAccountService;

/**
 * 
 * HomeController.java
 * 
 * @author 宋陆
 * @version 1.0 2014-5-14
 */
@Controller
public class HomeController {

    @Resource
    UserAccountService userAccountService;

    @RequestMapping(value = "/index.htm")
    public String index(Map<String, Object> model) {
        return "index";
    }
    
    @RequestMapping(value = "/search.htm")
    public String search(Map<String, Object> model) {
        return "search";
    }
}
